package com.bears.god.sup.service;

import com.bears.god.sup.dao.DAOFactory;
import com.bears.god.sup.model.User;

public class UserServiceImp implements UserService {

	@Override
	public void save(User user) throws Exception {
		DAOFactory.getUserDAO().save(user);
	}

	@Override
	public User findByName(String name) throws Exception {
		return DAOFactory.getUserDAO().findByName(name);
	}

}
